package com.esm.pdawms.model;

import zuo.biao.library.base.BaseModel;

public class Churukuhp extends BaseModel {

    private static final long serialVersionUID = 1L;

    String hpname = "";//名称
    String hpcode = "";//hpcode
    String kwbh = "";//库位
    String tjkw = "";//推荐库位，历史库位
    String type = "";    //0=半成品入库,1=成品缴库单,2=半成品出库,3=成品销货单,4=生产退料单,5=生产补料单,6=非生产退料单,7=非生产补料单,8=生产领料单,9=非生产领料单
    //
    float nummax = 0;//采购需求总数
    float num = 0;//验货总数
    float hegenum = 0;//合格数
    float fnum = 0; // 已出入库数量
    int num1 = 0; //A组小标数
    float onenum1 = 0; //A组小标包含货品数
    int num2 = 0; //B组小标数
    float onenum2 = 0; //B组小标包含货品数

    String dxname = "";//采购大箱编号
    String ph = "";//制令单的开始批号
    String lastph = "";//最后入库小标的批号

    public Churukuhp() {
        //default
    }

    public String getLastph() {
        return lastph;
    }

    public void setLastph(String lastph) {
        this.lastph = lastph;
    }

    public String getPh() {
        return ph;
    }

    public void setPh(String ph) {
        this.ph = ph;
    }

    public String getDxname() {
        return dxname;
    }

    public void setDxname(String dxname) {
        this.dxname = dxname;
    }

    public String getHpname() {
        return hpname;
    }

    public void setHpname(String hpname) {
        this.hpname = hpname;
    }

    public String getHpcode() {
        return hpcode;
    }

    public void setHpcode(String hpcode) {
        this.hpcode = hpcode;
    }

    public String getKwbh() {
        return kwbh;
    }

    public void setKwbh(String kwbh) {
        this.kwbh = kwbh;
    }

    public String getTjkw() {
        return tjkw;
    }

    public void setTjkw(String tjkw) {
        this.tjkw = tjkw;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public float getNummax() {
        return nummax;
    }

    public void setNummax(float nummax) {
        this.nummax = nummax;
    }

    public float getNum() {
        return num;
    }

    public void setNum(float num) {
        this.num = num;
    }

    public float getHegenum() {
        return hegenum;
    }

    public void setHegenum(float hegenum) {
        this.hegenum = hegenum;
    }

    public float getFnum() {
        return fnum;
    }

    public void setFnum(float fnum) {
        this.fnum = fnum;
    }

    public int getNum1() {
        return num1;
    }

    public void setNum1(int num1) {
        this.num1 = num1;
    }

    public float getOnenum1() {
        return onenum1;
    }

    public void setOnenum1(float onenum1) {
        this.onenum1 = onenum1;
    }

    public int getNum2() {
        return num2;
    }

    public void setNum2(int num2) {
        this.num2 = num2;
    }

    public float getOnenum2() {
        return onenum2;
    }

    public void setOnenum2(float onenum2) {
        this.onenum2 = onenum2;
    }

    @Override
    protected boolean isCorrect() {//根据自己的需求决定，也可以直接 return true
        return id > 0;// && StringUtil.isNotEmpty(phone, true);
    }

}
